<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>有趣的树妖</title>
</head>
<body>
    <div id="title">tree shaking - 树摇</div>
    
    <div class="less_block">
        打包后去掉无用代码; 尝试失败，并没有摇晃去掉无用代码？</br>
        难道是我配置错了？
    </div>
    
    <div class="less_block">
        package.json中增加"sideEffects": ["*.css", "*.less"]
    </div>


</body>
</html>